package com.wetao.flexiblerichtextview;

import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Color;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.Spanned;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;

import com.daquexian.flexiblerichtextview.Attachment;
import com.daquexian.flexiblerichtextview.FlexibleRichTextView;
import com.daquexian.flexiblerichtextview.FormatUtil;
import com.daquexian.flexiblerichtextview.MyConfige;
import com.daquexian.flexiblerichtextview.Tokenizer;
import com.wetao.flexiblerichtextview.bean.ExamData;
import com.wetao.flexiblerichtextview.bean.ExamData_2;
import com.wetao.flexiblerichtextview.bean.ExamData_3;
import com.wetao.flexiblerichtextview.bean.ResData;
import com.wetao.flexiblerichtextview.bean.ResData_1;

import org.scilab.forge.jlatexmath.core.AjLatexMath;

import java.util.ArrayList;
import java.util.List;



public class QuestionAnalysisActivity extends AppCompatActivity implements View.OnClickListener,FlexibleRichTextView.OnFlexibleListener {
    private static final String TAG = "QuestionAnaly";
    private static final int HANDLER_FIRST_LOAD = 1;
    private static final int HANDLER_COMPLETE_DELEYED = 2;
    private static final int HANDLER_SHOW_SCROLL_VIEW = 3;
    private static final int HANDLER_SCROLL_BY = 4;

    private boolean isTurnNoneShow = false;  //是否在翻页的隐藏scrollView,然后显示出来（为了肉眼看不出滚动效果，和尝试处理残影）
    private boolean isTurnPage = true;  //是翻页显示还是滚动显示
    private LinearLayout lyt_page_bottom;
    private Button btn_page_prev;
    private Button btn_page_next;
    private TextView tv_page_num;
    private int currentPage = 0;
    private int totalPage = 0;
    private int totalHeight = 0;
    private int currentHeight = 0;
    private ScrollView sv_question;
    int questionIndex;

    private Handler handler = new Handler() {
        @Override
        public void handleMessage(Message msg) {
            switch (msg.what) {
                case HANDLER_FIRST_LOAD:{
                    //TextView tv_html_1 = (TextView) findViewById(R.id.tv_html_1);
                    //HtmlTextView html_text = (HtmlTextView) findViewById(R.id.html_text);
                    FlexibleRichTextView.load_time = System.currentTimeMillis();
                    if(questionIndex == 0) {
                        testTag(); //测试单个标签
                    } else if(questionIndex == 1) {
                        testJson_1(); //测试张一鸣给的json数据文档
                    } else {
                        testJson_2("json_" + questionIndex + ".json"); //从后台管理系统获得各种文档测试
                    }

                    //tv_html_1.setText(Html.fromHtml("<table><tr><td>1</td><td>2</td></tr></table>"));
                    /* html_text.setHtml("<table><tr><td>1</td><td>2</td></tr></table>",
                       new HtmlResImageGetter(html_text));*/
                    //html_text.setHtml("<p>11111</p><span>222</span><span>333</span>");
                }break;
                case HANDLER_COMPLETE_DELEYED:{
                    //Log.i(TAG, "------------------------>>>>>>>>>10");
                    currentHeight = sv_question.getHeight();
                    totalHeight = sv_question.getChildAt(0).getHeight();
                    if(totalHeight > currentHeight) {
                        lyt_page_bottom.setVisibility(View.VISIBLE);
                        float f_totalPage = totalHeight/(currentHeight * MyConfige.scroll_by_page_percent);
                        int floor_totalPage = (int)(Math.floor(f_totalPage));
                        if((f_totalPage - floor_totalPage) * (currentHeight * MyConfige.scroll_by_page_percent) > (currentHeight * (1 - MyConfige.scroll_by_page_percent))) {
                            totalPage = floor_totalPage + 1;
                        } else {
                            totalPage = floor_totalPage;
                        }

                        Log.e(TAG, "滚动高度：h1 = " + currentHeight + ", h2 = " + totalHeight + ", f_totalPage = " + f_totalPage + ", totalPage = " + totalPage);
                        refreshPageView();
                    }

                }break;
                case HANDLER_SHOW_SCROLL_VIEW:{
                    sv_question.setVisibility(View.VISIBLE);
                }break;
                case HANDLER_SCROLL_BY:{
                    int by = msg.arg1;
                    sv_question.scrollBy(0, by);
                    refreshPageView();
                    handler.sendEmptyMessageDelayed(HANDLER_SHOW_SCROLL_VIEW, 100);
                }break;
            }
        }
    };

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_question_analysis);

        Intent intent = getIntent();
        questionIndex = intent.getIntExtra("questionIndex", 0);
        isTurnPage = intent.getBooleanExtra("isTurnPage", true);

        //禁止上下滚动
        sv_question = (ScrollView)findViewById(R.id.sv_question);
        if(isTurnPage) {
            sv_question.setOnTouchListener(new View.OnTouchListener(){
                @Override
                public boolean onTouch(View arg0, MotionEvent arg1) {
                    return true;
                }
            });
        }

        lyt_page_bottom = (LinearLayout)findViewById(R.id.lyt_page_bottom);
        btn_page_prev = (Button) findViewById(R.id.btn_page_prev);
        btn_page_next = (Button) findViewById(R.id.btn_page_next);
        tv_page_num = (TextView) findViewById(R.id.tv_page_num);

        btn_page_prev.setOnClickListener(this);
        btn_page_next.setOnClickListener(this);


        //必须延时一点时间再加载数据，原因是html解析需要一点时间，所以要界面先显示再加载。
        handler.sendEmptyMessageDelayed(HANDLER_FIRST_LOAD, 50);
    }

    @Override
    protected void onResume() {
        super.onResume();

        DisplayUtil.getScreenRelatedInformation(this);
        DisplayUtil.getRealScreenRelatedInformation(this);


        //必须延时一点时间再加载数据，原因是html解析需要一点时间，所以要界面先显示再加载。
        //handler.sendEmptyMessageDelayed(HANDLER_FIRST_LOAD, 50);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.btn_page_prev:{
                currentPage--;
                if(isTurnNoneShow) {
                    sv_question.setVisibility(View.INVISIBLE);
                    Message msg = handler.obtainMessage();
                    msg.what = HANDLER_SCROLL_BY;
                    msg.arg1 = -(int) (currentHeight * MyConfige.scroll_by_page_percent);
                    handler.sendMessageDelayed(msg, 50);
                    //handler.sendEmptyMessageDelayed(HANDLER_SHOW_SCROLL_VIEW, 100);
                } else {
                    sv_question.scrollBy(0, -(int)(currentHeight * MyConfige.scroll_by_page_percent));
                    refreshPageView();
                }


            }break;
            case R.id.btn_page_next:{
                currentPage++;
                if(isTurnNoneShow) {
                    sv_question.setVisibility(View.INVISIBLE);
                    Message msg = handler.obtainMessage();
                    msg.what = HANDLER_SCROLL_BY;
                    msg.arg1 = (int) (currentHeight * MyConfige.scroll_by_page_percent);
                    handler.sendMessageDelayed(msg, 100);
                    //handler.sendEmptyMessageDelayed(HANDLER_SHOW_SCROLL_VIEW, 100);
                } else {
                    sv_question.scrollBy(0, (int)(currentHeight * MyConfige.scroll_by_page_percent));
                    refreshPageView();
                }

            }break;
        }
    }

    @Override
    public void onComplete(FlexibleRichTextView view) {
        Log.i(TAG, "数据全部加载完成");
        int h1 = sv_question.getHeight();
        int h2 = sv_question.getChildAt(0).getHeight();
        Log.e(TAG, "滚动高度：h1 = " + h1 + ", h2 = " + h2);
        //Log.i(TAG, "------------------------>>>>>>>>>8");
        if(h2 > h1 && isTurnPage) {
            //Log.i(TAG, "------------------------>>>>>>>>>7");
            /*lyt_page_bottom.setVisibility(View.VISIBLE);
            refreshPageView();*/
            handler.sendEmptyMessageDelayed(HANDLER_COMPLETE_DELEYED, 50);
        }

    }

    private void refreshPageView() {
        tv_page_num.setText((currentPage + 1) + "/" + (totalPage == 0 ? 1 : totalPage));
        btn_page_prev.setClickable(false);
        btn_page_next.setClickable(false);
        btn_page_prev.setTextColor(Color.parseColor("#cccccc"));
        btn_page_next.setTextColor(Color.parseColor("#cccccc"));
        if(currentPage > 0) {
            btn_page_prev.setClickable(true);
            btn_page_prev.setTextColor(Color.parseColor("#000000"));
        }
        if((totalPage - 1) > currentPage){
            btn_page_next.setClickable(true);
            btn_page_next.setTextColor(Color.parseColor("#000000"));
        }
    }

    private void testTag() {
        List<Attachment> attachments = new ArrayList<>();
        attachments.add(new ExampleAttachment("Android Image", "53ce1", true, "https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo_top-e3b63a0b1b.png"));
        attachments.add(new ExampleAttachment("Here is a link", "bc41a", false, "https://www.baidu.com/"));

        FlexibleRichTextView flexibleRichTextView = (FlexibleRichTextView) findViewById(R.id.frtv);
        flexibleRichTextView.setOnFlexibleListenerr(this);
        /*Tokenizer.setCenterStartLabels("<center>");
        Tokenizer.setCenterEndLabels("</center>");
        Tokenizer.setTitleStartLabels("<h>");
        Tokenizer.setTitleEndLabels("</h>");

        flexibleRichTextView.setText("<h><center>hi!</center></h>" +
                        "[quote]This is quote\n" +
                        "second line\n" +
                        "third line\n" +
                        "fourth line[/quote]" +
                        "Here is an attachment:[attachment:53ce1]" +
                        "[code]print(\"Hello FlexibleRichTextView!\")[/code]" +
                        "Hello FlexibleRichTextView!\n" +
                        "This is LaTeX:\n" +
                        "$e^{\\pi i} + 1 = 0$\n" +
                        "This is table:\n" +
                        "| First Header  | Second Header |\n" +
                        "| --- | --- |\n" +
                        "| Content Cell  | Content Cell  |\n" +
                        "| Content Cell  | Content Cell  |\n" +
                        "An attachment is shown at the bottom: \n",
                attachments, 1, 0, false, null);*/


        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append("<p style=\"text-indent:2.0em;line-height:1.5;\">秦欲<z>伐</z>齐，齐楚从亲，于是张仪<sup>①</sup>往相楚。仪说楚王曰：“大王诚能听臣，闭关<sup>②</sup>绝约于齐，臣请<wav>献商於之地</wav>六百里，使秦女得为大<sub>2</sub>王箕帚之妾<sup>③</sup>，秦楚娶妇嫁女，长为兄弟之国。<u>此北弱齐而西益秦也，计无便此者</u>。”楚王大<z>说</z>而许之，乃以相印授张仪，厚赂<sup>④</sup>之。于是遂闭关绝约于齐，使一将军随张仪。</p><p style=\"text-indent:2.0em;line-height:1.5;\">张仪至秦，佯失绥<sup>⑤</sup>堕车，不朝三月。楚王闻之，曰：“仪以寡人绝齐未甚邪？”乃使勇士至宋，借宋之符，北骂齐王。齐王大怒，折节而下秦⑥。秦齐之交合，张仪乃朝，谓楚使者曰：“臣有奉邑六里，愿<z>以</z>献大王左右。”楚使者曰：“<u>臣受令于王，以商於之地六百里，不闻六里</u>。”还报楚王，楚王大怒，发兵而攻秦。楚大败，于是楚割两城以与秦平<sup>⑦</sup>。</p><p style=\"text-align:right;line-height:1.5;\">（节选自《史记·张仪列传》，有删减）</p><p style=\"line-height:1.5;\">[注]①张仪：战国时期纵横家外交家、谋略家。②闭关：闭塞关门，这里引申为断绝往来。③箕帚之妾：嫁女谦辞。箕帚，簸箕扫帚。指做扫洒清除之类的事情。④赂：馈赠财物。⑤失绥：没有拉住车上的绳索。⑥折节而下秦：折节，折断符节。下，委屈自己，向别人表示退让。⑦平：讲和。</p>");
        //stringBuilder.append("D. CH<sub>4</sub>+2O<sub>2</sub><img src=\"http://newpage-test.oss-cn-hangzhou.aliyuncs.com/6a91393da3a64d95a44b93a7cdbb0692.jpg\" />CO<sub>2</sub>+2H<sub>2</sub>O");
        //stringBuilder.append("<p style=\"line-height:0.99583334;\">(1)$${S}_{\\text{扇}\\text{形}\\text{B}\\text{D}\\text{E}}=\\frac{\\text{π}}{6}{x}^{2}$$    ，$${S}_{\\text{扇}\\text{形}\\text{A}\\text{D}\\text{G}}=\\frac{\\text{π}}{6}{\\left ( 2-x \\right )}^{2}$$    ，$$x∈[1,\\sqrt{3}$$]</p><p style=\"line-height:1.4583334;\">(2)当$$BD$$长为$$\\frac{4}{3}$$百米时，草坪面积最大,最大值为$$\\left ( \\sqrt{3}-\\frac{4\\text{π}}{9} \\right )$$公顷</p>");
        //stringBuilder.append("<p style=\"line-height:0.99583334;\">(1)$${S}_{\\text{扇}\\text{形}\\text{B}\\text{D}\\text{E}}=\\frac{\\text{π}}{6}{x}^{2}$$    ，$${S}_{\\text{扇}\\text{形}\\text{A}\\text{D}\\text{G}}=\\frac{\\text{π}}{6}{\\left ( 2-x \\right )}^{2}$$    ，$$x∈[1,\\sqrt{3}$$]</p><p style=\"line-height:1.4583334;\">(2)当$$BD$$长为$$\\frac{4}{3}$$百米时，草坪面积最大,最大值为$$\\left ( \\sqrt{3}-\\frac{4\\text{π}}{9} \\right )$$公顷</p>");
        //stringBuilder.append("<p style=\"line-height:1.5;\"><latex>$$ -\\frac{38}{11} $$</latex>；[-4，1)∪(1，+∞)</p>");
        //stringBuilder.append("\r\n");
        //stringBuilder.append("<p style=\"line-height:1.5;\">解：(1)函数的定义域为{-1，0，1，2，3}，则<latex>$$ f(-1)={\\left[\\left(-1\\right)-1\\right]}^{2}+1=5 $$</latex>，同理可得<latex>$$ f(0)=2 $$</latex>，<latex>$$ f(1)=1 $$</latex>，<latex>$$ f(2)=2 $$</latex>，<latex>$$ f(3)=5 $$</latex>，所以函数的值域为{1，2，5}.</p><p style=\"line-height:1.5;\">(2)函数的定义域为<latex>$$ \\mathbf{R} $$</latex>，因为<latex>$$ {\\left(x-1\\right)}^{2}+1\\ge 1 $$</latex>，所以函数的值域为<latex>$$ \\{y|y\\ge 1\\} $$</latex>.</p><p style=\"line-height:1.5;\">(3)函数的定义域是<latex>$$ \\{x|x\\ne 1\\} $$</latex>，<latex>$$ y=\\frac{5x+4}{x-1}=5+\\frac{9}{x-1} $$</latex>，所以函数的值域为<latex>$$ \\{y|y\\ne 5\\} $$</latex>.</p><p style=\"line-height:1.5;\">(4)要使函数有意义，需<latex>$$ x+1\\ge 0 $$</latex>，即<latex>$$ x\\ge -1 $$</latex>，故函数的定义域是<latex>$$ \\{x|x\\ge -1\\} $$</latex>.</p><p style=\"line-height:1.5;\">设<latex>$$ t=\\sqrt{x+1} $$</latex>，则<latex>$$ x={t}^{2}-1(t\\ge 0) $$</latex>，</p><p style=\"line-height:1.5;\">所以<latex>$$ f(x)=x-\\sqrt{x+1}={t}^{2}-1-t={\\left(t-\\frac{1}{2}\\right)}^{2}-\\frac{5}{4} $$</latex>.</p><p style=\"line-height:1.5;\">又<latex>$$ t\\ge 0 $$</latex>，故<latex>$$ f(x)\\ge -\\frac{5}{4} $$</latex>，所以函数的值域是<latex>$$ \\left\\{y\\left|y\\ge -\\frac{5}{4}\\right\\}\\right. $$</latex>.</p>");

        //stringBuilder.append("<p style=\"line-height:1.5;\">已知实数<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/e57ae20d05c442fcbf52f7beaed7beda.jpg\" />满<color=#ff0000> 足约束</color>条件<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/c7aade6ffb5a4de3a074f1656988ef8e.jpg\" />，则<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/201764a2a91c4aff8d4ac28012e1ef36.jpg\" />的最小值为（ ）</p>");
        //stringBuilder.append("\r\n");
        //stringBuilder.append("前前<img src=\"mnt/sdcard/课程封面2.jpg\">后后");
        //stringBuilder.append("<p style=\"line-height:1.5;\">观察函数<latex>$$ f\\left(x\\right) $$</latex>的定义，可知<latex>$$ f(x) $$</latex>是一个周期函数，用几何法求解，作出函数<latex>$$ f(x) $$</latex>与函数<latex>$$ y=\\mathrm{lg}x $$</latex>的图像。</p><p style=\"line-height:1.5;\"><img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/e9e31e6899a3448991cc9e21191a6c5b.png\" style=\"width:414px;height:180px;\" /></p><p style=\"line-height:1.5;\">如图共有8个交点（注意<latex>$$ f(10)=0 $$</latex>,点<latex>$$ （10，f(10)） $$</latex>不在函数<latex>$$ y=\\mathrm{lg}x $$</latex>图像上）</p><p style=\"line-height:1.5;\">故答案为8.</p>");
        //stringBuilder.append(" ");
        //stringBuilder.append("<img src=\"http://cdn.newpage.ink/89d5991bab6c4f6798a3da420420307e.jpg\" style=\"width:12px;height:19px;\" />");
        /*
        stringBuilder.append("\r\n");
        stringBuilder.append(" <img src=\"http://cdn.newpage.ink/cf0bb08aa06c4efaad7c56c20513c614.jpg\" style=\"width:13px;height:19px;\" /> ");*/
        //stringBuilder.append("<p style=\"line-height:1.5;\"> 【2<img src=\"http://cdn.newpage.ink/b67791e6e6ba415f8f97e8682b75fb93.png\" style=\"width:1px;height:2px;\" />018届安徽省合肥市高三调研性检测】已知抛物线<latex>$$ {y}^{2}=4x $$</latex>的焦点为<latex>$$ F $$</latex>，直线<latex>$$ l $$</latex>过点<latex>$$ F $$</latex>交抛物线于<latex>$$ A,B $$</latex>两点，且<latex>$$ \\left|AF\\right|=3\\left|FB\\right| $$</latex>.直线<latex>$$ 、{l}_{1}\\mathrm{、}{l}_{2}中 $$</latex>分别过点<latex>$$ A,B $$</latex>，且与<latex>$$ x $$</latex>轴平行，在直线<latex>$$ {l}_{1}\\mathrm{、}{l}_{2} $$</latex>上分别取点<latex>$$ M\\mathrm{、}N $$</latex>（<latex>$$ M\\mathrm{、}N $$</latex>分别在点<latex>$$ A,B $$</latex>的右侧），分别作<latex>$$ \\mathrm{\\angle }ABN $$</latex>和<latex>$$ \\mathrm{\\angle }BAM $$</latex>的平分线且相交于<latex>$$ P $$</latex>点，则<latex>$$ \\Delta PAB $$</latex>的面积为（ ）</p >");

        /*stringBuilder.append("<latex>$$ f(x)=\\int_{-\\infty}^x e^{-t^2}dt $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ a={\\int }_{0}^{\\mathrm{\\pi }}(2\\mathrm{s}\\mathrm{i}\\mathrm{n}x-\\mathrm{c}\\mathrm{o}\\mathrm{s}x)dx $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">(2020</span><span style=\"font-family: Times New Roman\">届广东省六校联考</span><span style=\"font-family: Times New Roman\">)</span><span style=\"font-family: Times New Roman\">若</span><latex>$$ a={\\int }_{0}^{\\mathrm{\\pi }}(2\\mathrm{s}\\mathrm{i}\\mathrm{n}x-\\mathrm{c}\\mathrm{o}\\mathrm{s}x)dx $$</latex><span style=\"font-family: Times New Roman\">，</span><span style=\"font-family: Times New Roman\">则</span><latex>$$ {\\left(\\frac{a}{x}-\\sqrt{x}\\right)}^{6} $$</latex><span style=\"font-family: Times New Roman\">的展开式中常数项为</span><span style=\"font-family: Times New Roman\"><u> </u></span><span style=\"font-family: Times New Roman\"><u> </u></span><span style=\"font-family: Times New Roman\">.</span></p>");
*/

        //stringBuilder.append("22222222222222222222222222222222222222222222222222222222222222222222222222222222222我<img src=\"mnt/sdcard/课程封面1.png\"/>们333");
        //stringBuilder.append("22222222222222222222222222222222222222222222222222222222222222222222222222222222222<img src=\"mnt/sdcard/课程封面1.png\"/>333");

        /*stringBuilder.append("前前<img src=\"mnt/sdcard/课程封面1.png\">后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<img src=\"mnt/sdcard/课程封面2.jpg\">后后");

        stringBuilder.append("<p><span style=\"font-family: Times New Roman\">(2018·</span><span style=\"font-family: Times New Roman\">新课标</span>Ⅲ<span style=\"font-family: Times New Roman\">)</span><span style=\"font-family: Times New Roman\">某群体中的每位成员使用移动支付的概率都为</span><span style=\"font-family: Times New Roman\">P</span><span style=\"font-family: Times New Roman\">，各成员的支付方式相互独立，设</span><span style=\"font-family: Times New Roman\">X</span><span style=\"font-family: Times New Roman\">为该群体的</span><span style=\"font-family: Times New Roman\">10</span><span style=\"font-family: Times New Roman\">位成员中使用移动支付的人数，</span><span style=\"font-family: Times New Roman\">D</span><span style=\"font-family: Times New Roman\">(</span><span style=\"font-family: Times New Roman\">X</span><span style=\"font-family: Times New Roman\">)</span><span style=\"font-family: Times New Roman\">=2.4</span><span style=\"font-family: Times New Roman\">，</span><span style=\"font-family: Times New Roman\">P(X=4)<P(X=</span><span style=\"font-family: Times New Roman\">6</span><span style=\"font-family: Times New Roman\">)</span><span style=\"font-family: Times New Roman\">，则</span><span style=\"font-family: Times New Roman\">P=</span><span style=\"font-family: Times New Roman\">( </span><span style=\"font-family: Times New Roman\">  )</span></p >");
        stringBuilder.append("\r\n<p><img src=\"http://cdn.newpage.ink/b72673c409d14d80a20831b925cc7634.jpg\" style=\"width:326px;height:71px;\" /></p>\r\n");
        stringBuilder.append("<img src=\"http://cdn.newpage.ink/3c58f2e69f024e0fb3581a7503b64bf4.jpg\" style=\"width:105px;height:102px;\" />");
        stringBuilder.append("前前<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/58eed61df8db4ac8a5a81ac1781a9de5.jpg\">后后");
        stringBuilder.append("前前<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/7d5e316ec75041cbb62b5434131b11ab.jpg\"/>后后");
        stringBuilder.append("<p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">已知奇函数</span><latex>$$ f(x) $$</latex><span style=\"font-family: Times New Roman\">是定义在</span><latex>$$ \\mathbf{R} $$</latex><span style=\"font-family: Times New Roman\">上的可导函数，其导数为</span><latex>$$ f\\mathrm{\\text{&apos;}}(x) $$</latex><span style=\"font-family: Times New Roman\">，当</span><latex>$$ x&gt;0 $$</latex><span style=\"font-family: Times New Roman\">时，有</span><latex>$$ 2f(x)+xf\\mathrm{\\text{&apos;}}(x)&gt;{x}^{2} $$</latex><span style=\"font-family: Times New Roman\">，则不等式</span><latex>$$ {\\left(x+2021\\right)}^{2}f(x+2021)+4f(-2)&lt;0 $$</latex><span style=\"font-family: Times New Roman\">的解集为</span><span style=\"font-family: Times New Roman\"><u>  </u></span><span style=\"font-family: Times New Roman\"><u>      </u></span><span style=\"font-family: Times New Roman\">.</span></p>");

        stringBuilder.append("\r\n");

        stringBuilder.append("<span style=\"font-family: Times New Roman\">(</span><span style=\"font-family: Times New Roman\">注：累计里程指汽车从出厂开始累计行驶的路程，累计耗电量指汽车从出厂开始累计消耗的电量，</span><span style=\"font-family: Times New Roman\">平均耗电量</span><span style=\"font-family: Times New Roman\">=</span><latex>$$ \\frac{\\text{累计耗电量}}{\\text{累计里程}} $$</latex><span style=\"font-family: Times New Roman\">，剩余续航里程</span><span style=\"font-family: Times New Roman\">=</span><latex>$$ \\frac{\\text{剩余电量}}{\\text{平均耗电量}} $$</latex><span style=\"font-family: Times New Roman\">，下面对该车在两次记录时间段内行驶</span><span style=\"font-family: Times New Roman\">100</span><span style=\"font-family: Times New Roman\">公里的耗电量估计正确的是</span>");

        stringBuilder.append("\r\n");
        stringBuilder.append("<p style=\"line-height:1.5;\">设<latex>$$ g(x)={x}^{2}f(x) $$</latex><span style=\"font-family: Times New Roman\">，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">因为</span><latex>$$ f(x) $$</latex><span style=\"font-family: Times New Roman\">为</span><latex>$$ \\mathbf{R} $$</latex><span style=\"font-family: Times New Roman\">上的奇函数，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">所以</span><latex>$$ g(-x)={\\left(-x\\right)}^{2}f(-x)=-{x}^{2}f(x) $$</latex><span style=\"font-family: Times New Roman\">，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">即</span><latex>$$ g(x) $$</latex><span style=\"font-family: Times New Roman\">为</span><latex>$$ \\mathbf{R} $$</latex><span style=\"font-family: Times New Roman\">上的奇函数</span><span style=\"font-family: Times New Roman\">.</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">对</span><latex>$$ g(x) $$</latex><span style=\"font-family: Times New Roman\">求导，得</span><latex>$$ g\\mathrm{\\text{&apos;}}(x)=x\\left[2f\\text{(}x\\text{)}+xf\\text{&apos;(}x\\text{)}\\right] $$</latex><span style=\"font-family: Times New Roman\">，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">而当</span><latex>$$ x&gt;0 $$</latex><span style=\"font-family: Times New Roman\">时，有</span><latex>$$ 2f(x)+xf\\mathrm{\\text{&apos;}}(x)&gt;{x}^{2}&gt;0 $$</latex><span style=\"font-family: Times New Roman\">，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">故当</span><latex>$$ x&gt;0 $$</latex><span style=\"font-family: Times New Roman\">时，</span><latex>$$ g\\mathrm{\\text{&apos;}}(x)&gt;0 $$</latex><span style=\"font-family: Times New Roman\">，即</span><latex>$$ g(x) $$</latex><span style=\"font-family: Times New Roman\">单调递增，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">所以</span><latex>$$ g(x) $$</latex><span style=\"font-family: Times New Roman\">在</span><latex>$$ \\mathbf{R} $$</latex><span style=\"font-family: Times New Roman\">上单调递增，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">则不等式</span><latex>$$ {\\left(x+2021\\right)}^{2}f(x+2021)+4f(-2)&lt;0 $$</latex><span style=\"font-family: Times New Roman\">，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">即</span><latex>$$ {\\left(x+2021\\right)}^{2}f(x+2021)&lt;-4f(-2) $$</latex><span style=\"font-family: Times New Roman\">，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">即</span><latex>$$ {\\left(x+2021\\right)}^{2}f(x+2021)&lt;4f(2) $$</latex><span style=\"font-family: Times New Roman\">，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">即</span><latex>$$ g(x+2021)&lt;g(2) $$</latex><span style=\"font-family: Times New Roman\">，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">所以</span><latex>$$ x+2021&lt;2 $$</latex><span style=\"font-family: Times New Roman\">，解得</span><latex>$$ x&lt;-2019 $$</latex><span style=\"font-family: Times New Roman\">.</span></p><p><span style=\"font-family: Times New Roman\">故</span><span style=\"font-family: Times New Roman\">答案为：</span><latex>$$ (-\\mathrm{\\infty },-2019) $$</latex><span style=\"font-family: Times New Roman\">．</span></p>");
        stringBuilder.append("∁");
        stringBuilder.append("\r\n");
        stringBuilder.append("<p style=\"line-height: 1.5;\">(2016秋&middot;杨浦区∁校级期中)己知集合U={a，b，c，d，e，f}，集合A={a，b，c，d}，A&cap;B={b}，∁<sub>U</sub>(A&cup;B)={f}，求集B.</p>");
        stringBuilder.append("前前<img src=\"https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo_top-e3b63a0b1b.png\" style=\"width:200px;height:100px\" />后后");
        stringBuilder.append("<p>(2018&middot;大连期末)已知<img class=\"Wirisformula\" style=\"max-width: none; vertical-align: -4px;\" role=\"math\" src=\"data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Awrs%3D%22http%3A%2F%2Fwww.wiris.com%2Fxml%2Fcvs-extension%22%20height%3D%2219%22%20width%3D%225%22%20wrs%3Abaseline%3D%2215%22%3E%3C!--MathML%3A%20%3Cmath%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1998%2FMath%2FMathML%22%20display%3D%22inline%22%20mathvariant%3D%22italic%22%3E%3Cmi%20mathvariant%3D%22normal%22%3Ei%3C%2Fmi%3E%3C%2Fmath%3E--%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%2F%3E%3C%2Fdefs%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2216%22%20text-anchor%3D%22middle%22%20x%3D%222.5%22%20y%3D%2215%22%3Ei%3C%2Ftext%3E%3C%2Fsvg%3E\" alt=\"Error converting from MathML to accessible text\" width=\"5\" height=\"19\" align=\"middle\" data-mathml=\"&laquo;math mathvariant=&#96;italic&#96; display=&#96;inline&#96;&raquo;\n" +
                "    &laquo;mi mathvariant=&#96;normal&#96;&raquo;i&laquo;/mi&raquo;\n" +
                "&laquo;/math&raquo;\" /> 是虚数单位，则复数<img class=\"Wirisformula\" style=\"max-width: none; vertical-align: -12px;\" role=\"math\" src=\"data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Awrs%3D%22http%3A%2F%2Fwww.wiris.com%2Fxml%2Fcvs-extension%22%20height%3D%2238%22%20width%3D%2273%22%20wrs%3Abaseline%3D%2226%22%3E%3C!--MathML%3A%20%3Cmath%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1998%2FMath%2FMathML%22%20display%3D%22inline%22%20mathvariant%3D%22italic%22%3E%3Cmi%20mathvariant%3D%22normal%22%3Ez%3C%2Fmi%3E%3Cmo%3E%3D%3C%2Fmo%3E%3Cmfrac%3E%3Cmsup%3E%3Cmrow%3E%3Cmo%3E(%3C%2Fmo%3E%3Cmn%3E1%3C%2Fmn%3E%3Cmo%3E%2B%3C%2Fmo%3E%3Cmi%20mathvariant%3D%22normal%22%3Ei%3C%2Fmi%3E%3Cmo%3E)%3C%2Fmo%3E%3C%2Fmrow%3E%3Cmn%3E2%3C%2Fmn%3E%3C%2Fmsup%3E%3Cmrow%3E%3Cmn%3E1%3C%2Fmn%3E%3Cmo%3E-%3C%2Fmo%3E%3Cmi%20mathvariant%3D%22normal%22%3Ei%3C%2Fmi%3E%3C%2Fmrow%3E%3C%2Fmfrac%3E%3C%2Fmath%3E--%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%40font-face%7Bfont-family%3A'math19290e2477baefb8e9b15f4a12a'%3Bsrc%3Aurl(data%3Afont%2Ftruetype%3Bcharset%3Dutf-8%3Bbase64%2CAAEAAAAMAIAAAwBAT1MvMi7iBBMAAADMAAAATmNtYXDEvmKUAAABHAAAAERjdnQgDVUNBwAAAWAAAAA6Z2x5ZoPi2VsAAAGcAAABdWhlYWQQC2qxAAADFAAAADZoaGVhCGsXSAAAA0wAAAAkaG10eE2rRkcAAANwAAAAEGxvY2EAHTwYAAADgAAAABRtYXhwBT0FPgAAA5QAAAAgbmFtZaBxlY4AAAO0AAABn3Bvc3QB9wD6AAAFVAAAACBwcmVwa1uragAABXQAAAAUAAADSwGQAAUAAAQABAAAAAAABAAEAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgICAAAAAg1UADev96AAAD6ACWAAAAAAACAAEAAQAAABQAAwABAAAAFAAEADAAAAAIAAgAAgAAACsAPSIS%2F%2F8AAAArAD0iEv%2F%2F%2F9b%2Fxd3xAAEAAAAAAAAAAAAAAVQDLACAAQAAVgAqAlgCHgEOASwCLABaAYACgACgANQAgAAAAAAAAAArAFUAgACrANUBAAErAAcAAAACAFUAAAMAA6sAAwAHAAAzESERJSERIVUCq%2F2rAgD%2BAAOr%2FFVVAwAAAQCAAFUC1QKrAAsASQEYsgwBARQTELEAA%2FaxAQT1sAo8sQMF9bAIPLEFBPWwBjyxDQPmALEAABMQsQEG5LEBARMQsAU8sQME5bELBfWwBzyxCQTlMTATIREzESEVIREjESGAAQBVAQ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AEYAbwByACAATQBvAHIAZQAAAwAAAAAAAAH0APoAAAAAAAAAAAAAAAAAAAAAAAAAALkHEQAAjYUYALIAAAAVFBOxAAE%2F)format('truetype')%3Bfont-weight%3Anormal%3Bfont-style%3Anormal%3B%7D%40font-face%7Bfont-family%3A'round_brackets18549f92a457f2409'%3Bsrc%3Aurl(data%3Afont%2Ftruetype%3Bcharset%3Dutf-8%3Bbase64%2CAAEAAAAMAIAAAwBAT1MvMjwHLFQAAADMAAAATmNtYXDf7xCrAAABHAAAADxjdnQgBAkDLgAAAVgAAAASZ2x5ZmAOz2cAAAFsAAABJGhlYWQOKih8AAACkAAAADZoaGVhCvgVwgAAAsgAAAAkaG10eCA6AAIAAALsAAAADGxvY2EAAARLAAAC%2BAAAABBtYXhwBIgEWQAAAwgAAAAgbmFtZXHR30MAAAMoAAACOXBvc3QDogHPAAAFZAAAACBwcmVwupWEAAAABYQAAAAHAAAGcgGQAAUAAAgACAAAAAAACAAIAAAAAAAAAQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgICAAAAAo8AMGe%2F57AAAHPgGyAAAAAAACAAEAAQAAABQAAwABAAAAFAAEACgAAAAGAAQAAQACACgAKf%2F%2FAAAAKAAp%2F%2F%2F%2F2f%2FZAAEAAAAAAAAAAAFUAFYBAAAsAKgDgAAyAAcAAAACAAAAKgDVA1UAAwAHAAA1MxEjEyMRM9XVq4CAKgMr%2FQAC1QABAAD%2B0AIgBtAACQBNGAGwChCwA9SwAxCwAtSwChCwBdSwBRCwANSwAxCwBzywAhCwCDwAsAoQsAPUsAMQsAfUsAoQsAXUsAoQsADUsAMQsAI8sAcQsAg8MTAREAEzABEQASMAAZCQ%2FnABkJD%2BcALQ%2FZD%2BcAGQAnACcAGQ%2FnAAAQAA%2FtACIAbQAAkATRgBsAoQsAPUsAMQsALUsAoQsAXUsAUQsADUsAMQsAc8sAIQsAg8ALAKELAD1LADELAH1LAKELAF1LAKELAA1LADELACPLAHELAIPDEwARABIw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3D)format('truetype')%3Bfont-weight%3Anormal%3Bfont-style%3Anormal%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2216%22%20text-anchor%3D%22middle%22%20x%3D%224.5%22%20y%3D%2226%22%3Ez%3C%2Ftext%3E%3Ctext%20font-family%3D%22math19290e2477baefb8e9b15f4a12a%22%20font-size%3D%2216%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2216.5%22%20y%3D%2226%22%3E%3D%3C%2Ftext%3E%3Cline%20stroke%3D%22%23000000%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%221%22%20x1%3D%2227.5%22%20x2%3D%2269.5%22%20y1%3D%2220.5%22%20y2%3D%2220.5%22%2F%3E%3Ctext%20font-family%3D%22round_brackets18549f92a457f2409%22%20font-size%3D%2212%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2231.5%22%20y%3D%2215%22%3E(%3C%2Ftext%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2212%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2236.5%22%20y%3D%2215%22%3E1%3C%2Ftext%3E%3Ctext%20font-family%3D%22math19290e2477baefb8e9b15f4a12a%22%20font-size%3D%2212%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2246.5%22%20y%3D%2215%22%3E%2B%3C%2Ftext%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2212%22%20text-anchor%3D%22middle%22%20x%3D%2254.5%22%20y%3D%2215%22%3Ei%3C%2Ftext%3E%3Ctext%20font-family%3D%22round_brackets18549f92a457f2409%22%20font-size%3D%2212%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2257.5%22%20y%3D%2215%22%3E)%3C%2Ftext%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2210%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2264.5%22%20y%3D%229%22%3E2%3C%2Ftext%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2212%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2240.5%22%20y%3D%2234%22%3E1%3C%2Ftext%3E%3Ctext%20font-family%3D%22math19290e2477baefb8e9b15f4a12a%22%20font-size%3D%2212%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2250.5%22%20y%3D%2234%22%3E%26%23x2212%3B%3C%2Ftext%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2212%22%20text-anchor%3D%22middle%22%20x%3D%2258.5%22%20y%3D%2234%22%3Ei%3C%2Ftext%3E%3C%2Fsvg%3E\" alt=\"Error converting from MathML to accessible text\" width=\"73\" height=\"38\" align=\"middle\" data-mathml=\"&laquo;math mathvariant=&uml;italic&uml; display=&uml;inline&uml; xmlns=&uml;http://www.w3.org/1998/Math/MathML&uml;&raquo;&laquo;mi mathvariant=&uml;normal&uml;&raquo;z&laquo;/mi&raquo;&laquo;mo&raquo;=&laquo;/mo&raquo;&laquo;mfrac&raquo;&laquo;msup&raquo;&laquo;mrow&raquo;&laquo;mo&raquo;(&laquo;/mo&raquo;&laquo;mn&raquo;1&laquo;/mn&raquo;&laquo;mo&raquo;+&laquo;/mo&raquo;&laquo;mi mathvariant=&uml;normal&uml;&raquo;i&laquo;/mi&raquo;&laquo;mo&raquo;)&laquo;/mo&raquo;&laquo;/mrow&raquo;&laquo;mn&raquo;2&laquo;/mn&raquo;&laquo;/msup&raquo;&laquo;mrow&raquo;&laquo;mn&raquo;1&laquo;/mn&raquo;&laquo;mo&raquo;-&laquo;/mo&raquo;&laquo;mi mathvariant=&uml;normal&uml;&raquo;i&laquo;/mi&raquo;&laquo;/mrow&raquo;&laquo;/mfrac&raquo;&laquo;/math&raquo;\" /> 的虚部是( )</p>");
        stringBuilder.append("aaa<img src=\"\nFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHB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nK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD6pooo\noAKKxYfFWiT+Lp/C8GoRSa7b2ovJrRAxMcRKgFmA2g/Mp2k7sMDjBBraoAK5D4teNIPAPgLU9dlM\nRuY08uzikx++uG4RcblLAH5mAOdqsR0rr6+dfj9DJ40+Nfw98AyJ/wAS051K7R7h0juI9zblKqMh\nhHBKFbOcykZXkkA7v9nnw4+k+Ao9b1GSK513xO/9s390qqN5m+dF4VcAK2dvIDO+ODXp9FFABXzh\n8KVfxP8AtT/ELxA+mxC20tHsBI7K5imVkgRlyAQXSCY5A4BKk88/R9eAfs4f8lT+NH/YaH/o+7oA\n9/ooooAK+cP2d9Vgh+Ofxc0hklNzdahNdowA2BIrmVWBOc5JnTHHY9OM/R9fOFzcz+E/2zRJdTWK\nWnifT0jDSOQUTygqLk4Akaa1CgfNkOB1PAB9H0UUUAFeK/tP6DfPoWh+NNFj8/UvCN6t+LdwzI8W\n5C5KqMna0cbH5lAQSEnpXtVRXdtBeWs1reQxT206NHLFKgZJEYYKsDwQQSCDQBn+FNesfFHhvTtb\n0qTfZX0KzR5KllyOUbaSAynKsMnBBHatWvMPhR4d1XwDr+t+FWiln8Kzu+paLcpvZLVGcCS0cs5K\nlSyMnHz/ALxs5yq+n0AFFFFABRRRQB//2Q==\" style=\"width:9px;height:28px;\" />bb");

        stringBuilder.append("11<p style=\"line-height: 1.5;\">333<img class=\"Wirisformula\" style=\"max-width: none; vertical-align: -5px;\" role=\"math\" src=\"data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Awrs%3D%22http%3A%2F%2Fwww.wiris.com%2Fxml%2Fcvs-extension%22%20height%3D%2224%22%20width%3D%2285%22%20wrs%3Abaseline%3D%2219%22%3E%3C!--MathML%3A%20%3Cmath%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1998%2FMath%2FMathML%22%20display%3D%22inline%22%20mathvariant%3D%22italic%22%3E%3Cmo%3E%5B%3C%2Fmo%3E%3Cmo%3E-%3C%2Fmo%3E%3Cmn%3E5%3C%2Fmn%3E%3Cmsqrt%3E%3Cmn%3E2%3C%2Fmn%3E%3C%2Fmsqrt%3E%3Cmtext%3E%26%23xFF0C%3B1%3C%2Fmtext%3E%3Cmo%3E%5D%3C%2Fmo%3E%3C%2Fmath%3E--%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%40font-face%7Bfont-family%3A'math1da40657c9fece7e48d30af42d3'%3Bsrc%3Aurl(data%3Afont%2Ftruetype%3Bcharset%3Dutf-8%3Bbase64%2CAAEAAAAMAIAAAwBAT1MvMi7iBBMAAADMAAAATmNtYXDEvmKUAAABHAAAADRjdnQgDVUNBwAAAVAAAAA6Z2x5ZoPi2VsAAAGMAAAAcmhlYWQQC2qxAAACAAAAADZoaGVhCGsXSAAAAjgAAAAkaG10eE2rRkcAAAJcAAAACGxvY2EAHTwYAAACZAAAAAxtYXhwBT0FPgAAAnAAAAAgbmFtZaBxlY4AAAKQAAABn3Bvc3QB9wD6AAAEMAAAACBwcmVwa1uragAABFAAAAAUAAADSwGQAAUAAAQABAAAAAAABAAEAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAgICAAAAAg1UADev96AAAD6ACWAAAAAAACAAEAAQAAABQAAwABAAAAFAAEACAAAAAEAAQAAQAAIhL%2F%2FwAAIhL%2F%2F93vAAEAAAAAAAABVAMsAIABAABWACoCWAIeAQ4BLAIsAFoBgAKAAKAA1ACAAAAAAAAAACsAVQCAAKsA1QEAASsABwAAAAIAVQAAAwADqwADAAcAADMRIRElIREhVQKr%2FasCAP4AA6v8VVUDAAABAIABVQLVAasAAwAwGAGwBBCxAAP2sAM8sQIH9bABPLEFA%2BYAsQAAExCxAAblsQABExCwATyxAwX1sAI8EyEVIYACVf2rAatWAAAAAQAAAAEAANV4zkFfDzz1AAMEAP%2F%2F%2F%2F%2FWOhNz%2F%2F%2F%2F%2F9Y6E3MAAP8gBIADqwAAAAoAAgABAAAAAAABAAAD6P9qAAAXcAAA%2F7YEgAABAAAAAAAAAAAAAAAAAAAAAgNSAFUDVgCAAAAAAAAAACgAAAByAAEAAAACAF4ABQAAAAAAAgCABAAAAAAABAAA3gAAAAAAAAAVAQIAAAAAAAAAAQASAAAAAAAAAAAAAgAOABIAAAAAAAAAAwAwACAAAAAAAAAABAASAFAAAAAAAAAABQAWAGIAAAAAAAAABgAJAHgAAAAAAAAACAAcAIEAAQAAAAAAAQASAAAAAQAAAAAAAgAOABIAAQAAAAAAAwAwACAAAQAAAAAABAASAFAAAQAAAAAABQAWAGIAAQAAAAAABgAJAHgAAQAAAAAACAAcAIEAAwABBAkAAQASAAAAAwABBAkAAgAOABIAAwABBAkAAwAwACAAAwABBAkABAASAFAAAwABBAkABQAWAGIAAwABBAkABgAJAHgAAwABBAkACAAcAIEATQBhAHQAaAAgAEYAbwBuAHQAUgBlAGcAdQBsAGEAcgBNAGEAdABoAHMAIABGAG8AcgAgAE0AbwByAGUAIABNAGEAdABoACAARgBvAG4AdABNAGEAdABoACAARgBvAG4AdABWAGUAcgBzAGkAbwBuACAAMQAuADBNYXRoX0ZvbnQATQBhAHQAaABzACAARgBvAHIAIABNAG8AcgBlAAADAAAAAAAAAfQA%2BgAAAAAAAAAAAAAAAAAAAAAAAAAAuQcRAACNhRgAsgAAABUUE7EAAT8%3D)format('truetype')%3Bfont-weight%3Anormal%3Bfont-style%3Anormal%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2216%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%222.5%22%20y%3D%2219%22%3E%5B%3C%2Ftext%3E%3Ctext%20font-family%3D%22math1da40657c9fece7e48d30af42d3%22%20font-size%3D%2216%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2211.5%22%20y%3D%2219%22%3E%26%23x2212%3B%3C%2Ftext%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2216%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2223.5%22%20y%3D%2219%22%3E5%3C%2Ftext%3E%3Cpolyline%20fill%3D%22none%22%20points%3D%2212%2C-16%2011%2C-16%205%2C0%202%2C-6%22%20stroke%3D%22%23000000%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%221%22%20transform%3D%22translate(28.5%2C20.5)%22%2F%3E%3Cpolyline%20fill%3D%22none%22%20points%3D%225%2C0%202%2C-6%200%2C-5%22%20stroke%3D%22%23000000%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%221%22%20transform%3D%22translate(28.5%2C20.5)%22%2F%3E%3Cline%20stroke%3D%22%23000000%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%221%22%20x1%3D%2240.5%22%20x2%3D%2253.5%22%20y1%3D%224.5%22%20y2%3D%224.5%22%2F%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2216%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2246.5%22%20y%3D%2219%22%3E2%3C%2Ftext%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2216%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2266.5%22%20y%3D%2219%22%3E%26%23xFF0C%3B1%3C%2Ftext%3E%3Ctext%20font-family%3D%22Arial%22%20font-size%3D%2216%22%20font-style%3D%22italic%22%20text-anchor%3D%22middle%22%20x%3D%2281.5%22%20y%3D%2219%22%3E%5D%3C%2Ftext%3E%3C%2Fsvg%3E\" alt=\"Error converting from MathML to accessible text\" width=\"85\" height=\"24\" align=\"middle\" data-mathml=\"&laquo;math mathvariant=&#96;italic&#96; display=&#96;inline&#96;&raquo;\n    &laquo;mo maxsize=&#96;1&#96;&raquo;[&laquo;/mo&raquo;\n    &laquo;mo&raquo;-&laquo;/mo&raquo;\n    &laquo;mn&raquo;5&laquo;/mn&raquo;\n    &laquo;msqrt&raquo;\n        &laquo;mn&raquo;2&laquo;/mn&raquo;\n    &laquo;/msqrt&raquo;\n    &laquo;mtext&raquo;&sect;#65292;1&laquo;/mtext&raquo;\n    &laquo;mo maxsize=&#96;1&#96;&raquo;]&laquo;/mo&raquo;\n&laquo;/math&raquo;\" />444</p>22");
        stringBuilder.append("浅浅<p><seg>aaa</seg>打广告<seg>  bb bb </seg></p>");

        stringBuilder.append("? &fnof; \n" +
                "Α &Alpha; \n" +
                "Β &Beta; \n" +
                "Γ &Gamma; \n" +
                "Δ &Delta; \n" +
                "Ε &Epsilon; \n" +
                "Ζ &Zeta; \n" +
                "Η &Eta; \n" +
                "Θ &Theta; \n" +
                "Ι &Iota; \n" +
                "Κ &Kappa; \n" +
                "Λ &Lambda; \n" +
                "Μ &Mu; \n" +
                "Ν &Nu; \n" +
                "Ξ &Xi; \n" +
                "Ο &Omicron; \n" +
                "Π &Pi; \n" +
                "Ρ &Rho; \n" +
                "Σ &Sigma; \n" +
                "Τ &Tau; \n" +
                "Υ &Upsilon; \n" +
                "Φ &Phi; \n" +
                "Χ &Chi; \n" +
                "Ψ &Psi; \n" +
                "Ω &Omega; \n" +
                "α &alpha; \n" +
                "β &beta; \n" +
                "γ &gamma; \n" +
                "δ &delta; \n" +
                "ε &epsilon; \n" +
                "ζ &zeta; \n" +
                "η &eta; \n" +
                "θ &theta; \n" +
                "ι &iota; \n" +
                "κ &kappa; \n" +
                "λ &lambda; \n" +
                "μ &mu; \n" +
                "ν &nu; \n" +
                "ξ &xi; \n" +
                "ο &omicron; \n" +
                "π &pi; \n" +
                "ρ &rho; \n" +
                "? &sigmaf; \n" +
                "σ &sigma; \n" +
                "τ &tau; \n" +
                "υ &upsilon; \n" +
                "φ &phi; \n" +
                "χ &chi; \n" +
                "ψ &psi; \n" +
                "ω &omega; \n" +
                "? &thetasym; \n" +
                "? &upsih; \n" +
                "? &piv; \n" +
                "? &bull; \n" +
                "… &hellip; \n" +
                "′ &prime; \n" +
                "″ &Prime; \n" +
                "￣ &oline; \n" +
                "? &frasl; \n" +
                "? &weierp; \n" +
                "? &image; \n" +
                "? &real; \n" +
                "? &trade; \n" +
                "? &alefsym; \n" +
                "← &larr; \n" +
                "↑ &uarr; \n" +
                "→ &rarr; \n" +
                "↓ &darr; \n" +
                "? &harr; \n" +
                "? &crarr; \n" +
                "? &lArr; \n" +
                "? &uArr; \n" +
                "? &rArr; \n" +
                "? &dArr; \n" +
                "? &hArr; \n" +
                "? &forall; \n" +
                "? &part; \n" +
                "?&exist; \n" +
                "?&empty; \n" +
                "? &nabla; \n" +
                "∈ &isin; \n" +
                "? &notin; \n" +
                "? &ni; \n" +
                "∏ &prod; \n" +
                "∑ &sum; \n" +
                "? &minus; \n" +
                "?&lowast; \n" +
                "√ &radic; \n" +
                "∝ &prop; \n" +
                "∞ &infin; \n" +
                "∠ &ang; \n" +
                "∧ &and; \n" +
                "∨ &or; \n" +
                "∩ &cap; \n" +
                "∪ &cup; \n" +
                "∫ &int; \n" +
                "∴ &there4; \n" +
                "～ &sim; \n" +
                "? &cong; \n" +
                "≈ &asymp; \n" +
                "≠ &ne; \n" +
                "≡ &equiv; \n" +
                "≤ &le; \n" +
                "≥ &ge; \n" +
                "? &sub; \n" +
                "? &sup; \n" +
                "? &nsub; \n" +
                "?&sube; \n" +
                "? &supe; \n" +
                "⊕ &oplus; \n" +
                "? &otimes; \n" +
                "⊥ &perp; \n" +
                "? &sdot; \n" +
                "?&lceil; \n" +
                "? &rceil; \n" +
                "? &lfloor; \n" +
                "?&rfloor; \n" +
                "? &lang; \n" +
                "? &rang; \n" +
                "? &loz; \n" +
                "? &spades; \n" +
                "? &clubs; \n" +
                "? &hearts; \n" +
                "? &diams; \n" +
                "markup-significant and internationalization characters: \n" +
                "“ &quot; \n" +
                "& &amp; \n" +
                "< &lt; \n" +
                "> &gt; \n" +
                "? &OElig; \n" +
                "? &oelig; \n" +
                "? &Scaron; \n" +
                "? &scaron; \n" +
                "? &Yuml; \n" +
                "? &circ; \n" +
                "? &tilde; \n" +
                "&ensp; \n" +
                "&emsp; \n" +
                "&thinsp; \n" +
                "? &zwnj; \n" +
                "? &zwj; \n" +
                "? &lrm; \n" +
                "?&rlm; \n" +
                "– &ndash; \n" +
                "— &mdash; \n" +
                "‘ &lsquo; \n" +
                "’ &rsquo; \n" +
                "? &sbquo; \n" +
                "“ &ldquo; \n" +
                "” &rdquo; \n" +
                "? &bdquo; \n" +
                "?&dagger; \n" +
                "? &Dagger; \n" +
                "‰ &permil; \n" +
                "? &lsaquo; \n" +
                "? &rsaquo; \n" +
                "€ &euro;");


        stringBuilder.append("<p style=\"line-height: 1.5;\">(2016秋&middot;杨浦区∁校级期中)己知集合U={a，b，c，d，e，f}，集合A={a，b，c，d}，A&cap;B={b}，∁<sub>U</sub>(A&cup;B)={f}，求集B.</p>");
        stringBuilder.append("<latex>$$ \\left(\\frac{1}{2}\\text{,}\\frac{\\sqrt{3}}{2}\\right) $$</latex> ");
        stringBuilder.append("<p style=\"line-height: 1.5;\">(2017･河北校级月考)已知q和n均为给定的大于1的自然数，设集合M={0，1，2，&hellip;，q&minus;1}，集合A={x|x=x<sub>1</sub>+x<sub>2</sub>q+&hellip;+x<sub>n</sub>q<sup>n</sup><sup>&minus;</sup><sup>1</sup>，x<sub>i</sub>&isin;M，i=1，2，&hellip;n}．当q=2，n=3时，用列举法表示集合A．</p>");
        stringBuilder.append("我们<i >我们<i >我们</i></i><i >我们</i>");
        stringBuilder.append("前前<img src=\"https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo_top-e3b63a0b1b.png\" style=\"width:200px;height:100px\" />后后");
        stringBuilder.append("<p>关于x的不等式</p><p><img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/2fc4d0942da8439abc537a9112975bc0.jpg\" style=\"width:413px;height:55px;\" /></p><p style=\"text-indent:2.0em;\">分析  化简A和B，结合数轴，构造不等式(组)，求出a．</p>");
        stringBuilder.append("<p style=\"text-indent:2.0em;\">A＝{x|2a≤x≤a2＋1}，B＝{x|(x－2)[x－(3a＋1)]≤0}</p><p style=\"text-indent:2.0em;\"><img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/e868565741ca4e1e989a81ebdbf649a1.jpg\" style=\"width:172px;height:41px;\" /></p><p style=\"text-indent:2.0em;\">B＝{x|2≤x≤3a＋1}．</p><p style=\"text-indent:2.0em;\"><img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/5dda88d25d364af4b1718d2fd03b982f.jpg\" style=\"width:248px;height:96px;\" /></p><p style=\"text-indent:2.0em;\">B＝{x|3a＋1≤x≤2}</p><p style=\"text-indent:2.0em;\"><img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/4676cabb602e48adbeda3cd2462095a7.jpg\" style=\"width:357px;height:101px;\" /></p>");
        stringBuilder.append("<latex>$$ \\left(\\frac{1}{2}\\text{,}\\frac{\\sqrt{3}}{2}\\right) $$</latex> ");
        stringBuilder.append("<p> (2017年高考数学真题･浙江卷)若函数f<latex>$$ \\mathrm{f}（\\mathrm{x}）= ，{\\mathrm{x}}^{2}+\\mathrm{a}\\mathrm{x}+\\mathrm{b} $$</latex>在区间[0，1]上的最大值是M，最小值是m，则<latex>$$ \\mathrm{M}（（）），，，，-\\mathrm{m} $$</latex>(   )</p>");
        stringBuilder.append("<p style=\"line-height:1.5;\">由题意<span style=\"font-family: Source Han Sans CN Medium;\">，</span><span style=\"font-family: Source Han Sans CN Medium;\">B={x|</span><latex>$$ {\\mathrm{x}}^{2}－3\\mathrm{x}－－+2&lt;0 $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">}={x|</span><latex>$$ 1&lt;\\mathrm{x}&lt;2 $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">}</span><span style=\"font-family: Source Han Sans CN Medium;\">，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Source Han Sans CN Medium;\">∵</span><latex>$$ \\mathrm{A}\\cap \\mathrm{B}=\\mathrm{B} $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Source Han Sans CN Medium;\">∴</span><latex>$$ \\mathrm{B}\\subseteq \\mathrm{A} $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">，</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Source Han Sans CN Medium;\">∴</span><latex>$$ \\mathrm{a}\\ge 2 $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">.</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Source Han Sans CN Medium;\">∴实数a的取值范围[2</span><span style=\"font-family: Source Han Sans CN Medium;\">，</span><span style=\"font-family: Source Han Sans CN Medium;\">+∞).</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Source Han Sans CN Medium;\">故选C</span><span style=\"font-family: Source Han Sans CN Medium;\">。</span></p>");

        stringBuilder.append("前前<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/58eed61df8db4ac8a5a81ac1781a9de5.jpg\"/>后后");
        stringBuilder.append("<table><tr><td>11111111</td><td>2222222</td></tr></table>");
        stringBuilder.append("<table><tr><td>11111111</td><td>2222222</td></tr></table>");
        stringBuilder.append("<p><span style=\"font-family: Source Han Sans CN Medium;\">(2016</span><span style=\"font-family: Source Han Sans CN Medium;\">·</span><span style=\"font-family: Source Han Sans CN Medium;\">新课标</span><span style=\"font-family: Source Han Sans CN Medium;\">Ⅱ</span><span style=\"font-family: Source Han Sans CN Medium;\">)圆</span><latex>$$ {\\mathrm{x}}^{2}+{\\mathrm{y}}^{2}-2\\mathrm{x}-8\\mathrm{y}+13=0 $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">的圆心到直线</span><latex>$$ \\mathrm{a}\\mathrm{x}+\\mathrm{y}-1=0 $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">的距离为1</span><span style=\"font-family: Source Han Sans CN Medium;\">，</span><span style=\"font-family: Source Han Sans CN Medium;\">则a=</span><span style=\"font-family: Source Han Sans CN Medium;\">(   )</span></p >");
        stringBuilder.append("<p><span style=\"font-family: Source Han Sans CN Medium;\">已知圆M</span><span style=\"font-family: Source Han Sans CN Medium;\">：</span><span style=\"font-family: Source Han Sans CN Medium;\">(x+</span><latex>$$ \\sqrt{5} $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">)</span><span style=\"font-family: Source Han Sans CN Medium;\"><sup>2</sup></span><span style=\"font-family: Source Han Sans CN Medium;\">+y</span><span style=\"font-family: Source Han Sans CN Medium;\"><sup>2</sup></span><span style=\"font-family: Source Han Sans CN Medium;\">=36</span><span style=\"font-family: Source Han Sans CN Medium;\">，</span><span style=\"font-family: Source Han Sans CN Medium;\">定点N(</span><latex>$$ \\sqrt{5} $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">，</span><span style=\"font-family: Source Han Sans CN Medium;\">0)</span><span style=\"font-family: Source Han Sans CN Medium;\">，</span><span style=\"font-family: Source Han Sans CN Medium;\">点P为圆M上的动点</span><span style=\"font-family: Source Han Sans CN Medium;\">，</span><span style=\"font-family: Source Han Sans CN Medium;\">点Q在</span><span style=\"font-family: Source Han Sans CN Medium;\">NP上</span><span style=\"font-family: Source Han Sans CN Medium;\">，</span><span style=\"font-family: Source Han Sans CN Medium;\">点G在线段MP上</span><span style=\"font-family: Source Han Sans CN Medium;\">，</span><span style=\"font-family: Source Han Sans CN Medium;\">且满足</span><latex>$$ \\stackrel{\\to }{\\mathrm{N}\\mathrm{P}} $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">=2</span><latex>$$ \\stackrel{\\to }{\\mathrm{N}\\mathrm{Q}}，\\stackrel{\\to }{\\mathrm{G}\\mathrm{Q}} $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">•</span><latex>$$ \\stackrel{\\to }{\\mathrm{N}\\mathrm{P}} $$</latex><span style=\"font-family: Source Han Sans CN Medium;\">=0</span><span style=\"font-family: Source Han Sans CN Medium;\">，</span><span style=\"font-family: Source Han Sans CN Medium;\">则点G的轨迹方程为</span><span style=\"font-family: Source Han Sans CN Medium;\">(   )</span></p>");
        stringBuilder.append("<p style=\"text-align:center;line-height:1.5;\"><img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/e7df78be74f44fa19c5c2054d75b03fa.jpg\" style=\"width:67px;height:97px;\" /></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">  </span><span style=\"font-family: Times New Roman\">She is widely seen as proof that good looks can last forever. But, at nearly 500 years of age, </span><span style=\"font-family: Times New Roman\"><u>time is catching up with the </u></span><span style=\"font-family: Times New Roman\"><i><u>Mona</u></i></span><span style=\"font-family: Times New Roman\"><u> </u></span><span style=\"font-family: Times New Roman\"><i><u>Lisa</u></i></span><span style=\"font-family: Times New Roman\">. </span></p><p style=\"text-indent:2.0em;line-height:1.5;\"><span style=\"font-family: Times New Roman\">The health of the famous picture, painted by Leonardo Da Vinci, is getting worse by the year, according to the Louvre Museum (</span><span style=\"font-family: Times New Roman\">卢浮宫博物馆</span><span style=\"font-family: Times New Roman\">) where it is housed.</span></p><p style=\"text-indent:2.0em;line-height:1.5;\"><span style=\"font-family: Times New Roman\">“The thin, wooden panel on which the </span><span style=\"font-family: Times New Roman\"><i>Mona</i></span><span style=\"font-family: Times New Roman\"> </span><span style=\"font-family: Times New Roman\"><i>Lisa</i></span><span style=\"font-family: Times New Roman\"> is painted in oil has changed shape since experts checked it two years ago,” the museum said. Visitors have noticed changes but repairing the worldʼs most famous painting is not easy. Experts are not sure about the materials the Italian artist used and their current chemical state.</span></p><p style=\"text-indent:2.0em;line-height:1.5;\"><span style=\"font-family: Times New Roman\">Nearly 6 million people go to see the </span><span style=\"font-family: Times New Roman\"><i>Mona</i></span><span style=\"font-family: Times New Roman\"> </span><span style=\"font-family: Times New Roman\"><i>Lisa</i></span><span style=\"font-family: Times New Roman\"> every year, many attracted by the mystery of her smile. “It is very interesting that when youʼre not looking at her, she seems to be smiling, and then you look at her and she stops,” said Professor Margaret Livingstone of Harvard University. “Itʼs because direct vision is excellent at picking up detail, but less suited to looking at shadows. Da Vinci painted the smile in shadows.”</span></p><p style=\"text-indent:2.0em;line-height:1.5;\"><span style=\"font-family: Times New Roman\">However, the actual history of the </span><span style=\"font-family: Times New Roman\"><i>Mona</i></span><span style=\"font-family: Times New Roman\"> </span><span style=\"font-family: Times New Roman\"><i>Lisa</i></span><span style=\"font-family: Times New Roman\"> is just as mysterious as the smile. Da Vinci himself loved it so much that he always carried it with him, until it was eventually sold to Franceʼs King Francis Ⅰ in 1519.</span></p><p style=\"text-indent:2.0em;line-height:1.5;\"><span style=\"font-family: Times New Roman\">In 1911, the painting was stolen from the Louvre by a former employee, who took it out of the museum hidden under his coat. He said he planned to return it to Italy. The painting was sent back to France two years later.</span></p><p style=\"text-indent:2.0em;line-height:1.5;\"><span style=\"font-family: Times New Roman\">During World War Ⅱ, French hid the painting in small towns to keep it out of the hands of German forces.</span></p><p style=\"text-indent:2.0em;line-height:1.5;\"><span style=\"font-family: Times New Roman\">Like many old ladies, the </span><span style=\"font-family: Times New Roman\"><i>Mona</i></span><span style=\"font-family: Times New Roman\"> </span><span style=\"font-family: Times New Roman\"><i>Lisa</i></span><span style=\"font-family: Times New Roman\"> has some interesting stories to tell.</span></p>");

        stringBuilder.append("底图为透明的图片前前<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/1590721180109.jpg\"/>后后");
        stringBuilder.append("<p>111111</p rn_num=\"0\">");
        stringBuilder.append("333333");
        stringBuilder.append("aaa<table><tr><td><latex>$$ \\frac{\\mathrm{\\pi }}{8} $$</latex></td><td><latex>$$ \\frac{\\mathrm{\\pi }}{4} $$</latex></td></tr><tr><td></td><td>4\r\n\r\n\r\n\r\n\r\n</td></tr></table>bbbb");
        stringBuilder.append("\r\n");
        stringBuilder.append("<table><tr><td><b><i>11111111</i></b><p>aaaa</p><span>bbbb</span></td><td>2222222</td></tr><tr><td></td><td>4</td></tr></table>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<p>简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落简单段落</p>");
        stringBuilder.append("<p>简单段落</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap\">简单段落带样式</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-align:left\">段落-左对齐</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-align:center\">段落-居中对齐</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-align:right\">段落-右对齐</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-indent:0.0rem\">段落-缩进0.0rem</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-indent:2.0rem\">段落-缩进2.0rem</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-indent:2rem\">段落-缩进2rem</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-indent:2em\">段落-缩进2em</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-indent:2.2rem\">段落-缩进2.2rem</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-align:left;text-indent:2rem\">段落-左对齐-缩进2.0rem</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-align:center;text-indent:2rem\">段落-居中对齐-缩进2.0rem</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-align:right;text-indent:2rem\">段落-右对齐-缩进2.0rem</p>");
        stringBuilder.append("<table><tr><td>11111111<p>aaaa</p><span>bbbb</span></td><td>2222222</td></tr><tr><td></td><td>4</td></tr></table>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<table><tr><td><p>1</p></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td><p>2</p></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td><p>3</p></td><td></td><td><p>5</p></td></tr><tr><td></td><td></td><td></td><td><p>4</p></td><td></td></tr></table>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<table border=\"1\"  cellspacing=\"0\" width=\"553\" ><tr><td><p style=\"white-space: pre-wrap;\">1</p></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td><p style=\"white-space: pre-wrap;\">2</p></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td><p style=\"white-space: pre-wrap;\">3</p></td><td></td><td><p style=\"white-space: pre-wrap;\">5</p></td></tr><tr><td></td><td></td><td></td><td><p style=\"white-space: pre-wrap;\">4</p></td><td></td></tr></table>");
        stringBuilder.append("前前<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/58eed61df8db4ac8a5a81ac1781a9de5.jpg\"/>后后");
        stringBuilder.append("前前<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/58eed61df8db4ac8a5a81ac1781a9de5.jpg\" style=\"null\" />后后");
        stringBuilder.append("前前<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/58eed61df8db4ac8a5a81ac1781a9de5.jpg\" style=\"width:200px\" />后后");
        stringBuilder.append("前前<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/58eed61df8db4ac8a5a81ac1781a9de5.jpg\" style=\"height:200px\" />后后");
        stringBuilder.append("前前<img src=\"https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo_top-e3b63a0b1b.png\" style=\"width:200px;height:100px\" />后后");
        stringBuilder.append("<span style=\"white-space: pre-wrap;text-indent:0.0em;\">单行数据</span>");
        stringBuilder.append("<span style=\"white-space: pre-wrap;text-indent:0.0em;\">单行数据2</span>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-indent:0.0em;\">段落数据1</p>");
        stringBuilder.append("<p style=\"white-space: pre-wrap;text-indent:0.0em;\">段落数据2</p>");

        stringBuilder.append("前前$$ \\mathrm{\\varnothing }\\cap \\cup \\sqrt[4]{\\sqrt[3]{2}}~÷\\le 1123∆\\mathrm{℃}\\mathrm{\\%}\\mathrm{\\varnothing }\\cup \\sqrt[4]{1}\\ne \\sqrt[3]{1111} $$后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前$ \\mathrm{\\varnothing }\\cap \\cup \\sqrt[4]{\\sqrt[3]{2}}~÷\\le 1123∆\\mathrm{℃}\\mathrm{\\%}\\mathrm{\\varnothing }\\cup \\sqrt[4]{1}\\ne \\sqrt[3]{1111} $后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<latex>$$ \\mathrm{\\varnothing }\\cap \\cup \\sqrt[4]{\\sqrt[3]{2}}~÷\\le 1123∆\\mathrm{℃}\\mathrm{\\%}\\mathrm{\\varnothing }\\cup \\sqrt[4]{1}\\ne \\sqrt[3]{1111} $$</latex>后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<latex>$ \\mathrm{\\varnothing }\\cap \\cup \\sqrt[4]{\\sqrt[3]{2}}~÷\\le 1123∆\\mathrm{℃}\\mathrm{\\%}\\mathrm{\\varnothing }\\cup \\sqrt[4]{1}\\ne \\sqrt[3]{1111} $</latex>后后");
        stringBuilder.append("<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/58eed61df8db4ac8a5a81ac1781a9de5.jpg\" style=\"null\" />");
        stringBuilder.append("正常文字");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<latex>$$ \\mathrm{\\varnothing }\\cap \\cup \\sqrt[4]{\\sqrt[3]{2}}~÷\\le 1123∆\\mathrm{℃}\\mathrm{\\%}\\mathrm{\\varnothing }\\cup \\sqrt[4]{1}\\ne \\sqrt[3]{1111} $$</latex>后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<b> 加粗 </b>后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<i>加斜</i>后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<b><i>加粗加斜</i></b>后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<i><b>加斜加粗</b></i>后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<u>  </u><u>下划线</u><u>  </u>后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前上标X<sup>2</sup>后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前连续两个上标X<sup>2</sup><sup>3</sup>后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前下标X<sub>2</sub>后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<z>着重号着重号着重号着重号着重号着重号</z>后后");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<wav>波浪线波浪线波浪线波浪线波浪线2波浪线</wav>后后");
        stringBuilder.append("\r\n");

        stringBuilder.append("00<latex>$$ 11 $$</latex>22");
        stringBuilder.append("33<latex>$$ 4中文4 （1），－：苦劳 $$</latex>55");

        stringBuilder.append("<latex>$$   11 我$$</latex>");
        stringBuilder.append("<latex>$$ \\sum_{i=1}^n a_i=0$$</latex>,");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ \\Large 11 \\tiny 中文 \\Large 11 $$</latex>");
        stringBuilder.append("<latex>$$ \\Large \\textbf{11} 11 f(x)=x^{x^x}$$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$f(x_1,x_x,\\ldots,x_n) = x_1^2 + x_2^2 + \\cdots + x_n^2 $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$\\left. \\frac{du}{dx} \\right|_{x=0}.$$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$f(n) = \\begin{cases} \\frac{n}{2}, & \\text{if } n\\text{ is even} \\\\ 3n+1, & " +
                "\\text{if } n\\text{ is odd} \\end{cases}$$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$\\mbox{对任意的$x>0$}, \\mbox{有 }f(x)>0. $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$\\sqrt[n]{x_r_r_r} $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ \\frac{x+2}{x} \\sqrt{x} $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ \\[f(x,y,z) = 3y^2 z \\left( 3 + \\frac{7x+5}{1 + y^2} \\right).\\] $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ P(x|c)=\\frac{P(c|x)\\cdot P(x)}{P(x)} $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ \\Large x=\\frac{-b\\pm\\sqrt{b^2-4ac}}{2a} $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ \\sum_{i=1}^n i = \\frac{n(n+1)}2 $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ f(x)=\\int_{-\\infty}^x e^{-t^2}dt $$</latex> 这道公式我也不知道怎么做");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ \\cos 2\\theta  = \\cos^2 \\theta - \\sin^2 \\theta = 2 \\cos^2 \\theta - 1. $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ \\displaystyle= \\frac{k(k+1)}{2}+k+1 $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ \\frac{x}{2}-3=0 $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ x=\\frac{3}{2} $$</latex>");
        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ \\[ \\sum_{k=1}^n k^2 = \\frac{1}{2} n (n+1).\\] $$</latex>");

        stringBuilder.append("\r\n");
        stringBuilder.append("<latex>$$ \\mathrm{\\varnothing }\\cap \\cup \\sqrt[4]{\\sqrt[3]{2}}~÷\\le 1123∆\\mathrm{℃}\\mathrm{\\%}\\mathrm{\\varnothing }\\cup \\sqrt[4]{1}\\ne \\sqrt[3]{1111} $$</latex>");

        stringBuilder.append("\r\n");

        stringBuilder.append("<latex>$ x=\\frac{3}{2} $</latex>");

        stringBuilder.append("\r\n");
        stringBuilder.append("\r\n");
        stringBuilder.append("单独的文字<span style=\"white-space: pre-wrap;text-indent:0.0em;\">单行数据</span><span style=\"white-space: pre-wrap;text-indent:0.0em;\">单行数据2</span><p style=\"white-space: pre-wrap;text-indent:0.0em;\">公式展示测试哦。。。。 <latex>$$ \\mathrm{\\varnothing }\\cap \\cup \\sqrt[4]{\\sqrt[3]{2}}~÷\\le 1123∆\\mathrm{℃}\\mathrm{\\%}\\mathrm{\\varnothing }\\cup \\sqrt[4]{1}\\ne \\sqrt[3]{1111} $$</latex>，</p><p style=\"white-space: pre-wrap;\">字体这里是,<b>加粗</b><b>,</b><i>加斜</i><i>, </i><b><i>加粗加斜</i></b><b><i>,</i></b>   我想些个上标X<sup>2</sup> 下标X<sub>2</sub><sub> </sub>        下划线来点吧</p><p style=\"white-space: pre-wrap;\"><u>                      </u><u>1</u><u>             </u></p><p style=\"white-space: pre-wrap;\">再往下是图片了</p><p style=\"white-space: pre-wrap;\"><img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/58eed61df8db4ac8a5a81ac1781a9de5.jpg\" style=\"null\" /></p><p style=\"white-space: pre-wrap;\">表格也来点吧</p><table border=\"1\"  cellspacing=\"0\" width=\"553\" ><tr><td><p style=\"white-space: pre-wrap;\">1</p></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td><p style=\"white-space: pre-wrap;\">2</p></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td><p style=\"white-space: pre-wrap;\">3</p></td><td></td><td><p style=\"white-space: pre-wrap;\">5</p></td></tr><tr><td></td><td></td><td></td><td><p style=\"white-space: pre-wrap;\">4</p></td><td></td></tr></table><p style=\"white-space: pre-wrap;\"><wav>波浪线波浪线波浪线波浪线波浪线波浪线</wav></p><p style=\"white-space: pre-wrap;\"><z>着重号着重号着重号着重号下次</z><z>再加</z><z> </z><z>不会</z></p>");
        stringBuilder.append("\r\n");
        stringBuilder.append("前前<z>着重号着重号着重号着重号着重号着重号</z>后后");
        stringBuilder.append("前前<wav>波浪线波浪线波浪线波浪线波浪线2波浪线</wav>后后");
        stringBuilder.append("\r\n ");
        stringBuilder.append("aaa<img src=\"\nFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgo\nKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCABYAB4DASIA\nAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA\nAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3\nODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm\np6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA\nAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx\nBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK\nU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3\nuLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD6pooo\noAKKxYfFWiT+Lp/C8GoRSa7b2ovJrRAxMcRKgFmA2g/Mp2k7sMDjBBraoAK5D4teNIPAPgLU9dlM\nRuY08uzikx++uG4RcblLAH5mAOdqsR0rr6+dfj9DJ40+Nfw98AyJ/wAS051K7R7h0juI9zblKqMh\nhHBKFbOcykZXkkA7v9nnw4+k+Ao9b1GSK513xO/9s390qqN5m+dF4VcAK2dvIDO+ODXp9FFABXzh\n8K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KjU2Nzg5OkNERUZHSElK\nU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3\nuLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD6pooo\noAKKxYfFWiT+Lp/C8GoRSa7b2ovJrRAxMcRKgFmA2g/Mp2k7sMDjBBraoAK5D4teNIPAPgLU9dlM\nRuY08uzikx++uG4RcblLAH5mAOdqsR0rr6+dfj9DJ40+Nfw98AyJ/wAS051K7R7h0juI9zblKqMh\nhHBKFbOcykZXkkA7v9nnw4+k+Ao9b1GSK513xO/9s390qqN5m+dF4VcAK2dvIDO+ODXp9FFABXzh\n8KVfxP8AtT/ELxA+mxC20tHsBI7K5imVkgRlyAQXSCY5A4BKk88/R9eAfs4f8lT+NH/YaH/o+7oA\n9/ooooAK+cP2d9Vgh+Ofxc0hklNzdahNdowA2BIrmVWBOc5JnTHHY9OM/R9fOFzcz+E/2zRJdTWK\nWnifT0jDSOQUTygqLk4Akaa1CgfNkOB1PAB9H0UUUAFeK/tP6DfPoWh+NNFj8/UvCN6t+LdwzI8W\n5C5KqMna0cbH5lAQSEnpXtVRXdtBeWs1reQxT206NHLFKgZJEYYKsDwQQSCDQBn+FNesfFHhvTtb\n0qTfZX0KzR5KllyOUbaSAynKsMnBBHatWvMPhR4d1XwDr+t+FWiln8Kzu+paLcpvZLVGcCS0cs5K\nlSyMnHz/ALxs5yq+n0AFFFFABRRRQB//2Q==\" style=\"width:9px;height:28px;\" />bb");
        stringBuilder.append("前前<img src=\"https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo_top-e3b63a0b1b.png\" style=\"width:200px;height:100px\" />后后");
*/
        //flexibleRichTextView.setLatexSizeScale(2f);

        flexibleRichTextView.setText(stringBuilder.toString());
        //stringBuilder.append("特大图<p style=\"line-height:1.6666666;\">设<img src=\"http://newpage-edu.oss-cn-beijing.aliyuncs.com/10394b4e4794430bb51d671553f5f89a.jpg\" style=\"height:24pt;\" />，则A，B间的关系为        （   ）</p>");
        //stringBuilder.append("$$ \\text{∁} $$");
        //stringBuilder.append("<latex>$$ \\left(\\text{∁}\\frac{1}{2}\\text{,-}\\frac{\\sqrt{3}}{2\\mathrm{ }}\\right) $$</latex>");

    }

    private void testJson_1() {
        FlexibleRichTextView flexibleRichTextView = (FlexibleRichTextView) findViewById(R.id.frtv);
        flexibleRichTextView.setOnFlexibleListenerr(this);
        ResData res = null;
        //可以填：json_1.json
        String json = TestJson.getJson(this, "json_1.json");
        if(JsonUtils.isGoodJson(json)) {
            res = JsonUtils.fromJson(json, ResData.class);
        }
        StringBuilder stringBuilder = new StringBuilder();
        if(res != null) {
            for(ResData_1 resData_1 : res.getData()) {
                stringBuilder.append(FormatUtil.format_questionNo(resData_1.getQuestionNo().toString()));
                stringBuilder.append(FormatUtil.format_question(resData_1.getQuestion()));
                for(int i = 0; i <  resData_1.getOptions().size(); i++) {
                    stringBuilder.append(FormatUtil.format_option(i, resData_1.getOptions().get(i)));
                }
                if(resData_1.getAnswers() != null && resData_1.getAnswers().size() > 0) {
                    for(int i = 0; i <  resData_1.getAnswers().size(); i++) {
                        stringBuilder.append(FormatUtil.format_answers(i, resData_1.getAnswers().get(i), resData_1.getAnswers().size()));
                    }
                } else {
                    stringBuilder.append(FormatUtil.format_answers(0, "", 1));
                }

                stringBuilder.append(FormatUtil.format_explain(resData_1.getExplain()));
            }
        }

        flexibleRichTextView.setText(stringBuilder.toString());
    }

    private void testJson_2(String fileName) {
        FlexibleRichTextView flexibleRichTextView = (FlexibleRichTextView) findViewById(R.id.frtv);
        flexibleRichTextView.setOnFlexibleListenerr(this);
        ExamData res = null;
        String json = TestJson.getJson(this, fileName);
        if(JsonUtils.isGoodJson(json)) {
            res = JsonUtils.fromJson(json, ExamData.class);
        }
        StringBuilder stringBuilder = new StringBuilder();
        if(res != null) {
            stringBuilder.append(res.getData().getName());
            stringBuilder.append(FormatUtil.format_totalQuestion(res.getData().getTotalQuestion().toString()));
            for(ExamData_2 examData_2 : res.getData().getExamQuestionDetailVoList()) {
                if(examData_2.getHasScreen() && examData_2.getQuestionScreen() != null) {
                    stringBuilder.append(FormatUtil.format_questionScreen(examData_2.getQuestionScreen()));
                }
                for(ExamData_3 examData_3 : examData_2.getQuestionList()) {
                    stringBuilder.append(FormatUtil.format_questionNo(examData_3.getQuestionNo().toString()));
                    stringBuilder.append(FormatUtil.format_question(examData_3.getQuestion()));
                    for(int i = 0; i <  examData_3.getOptions().size(); i++) {
                        stringBuilder.append(FormatUtil.format_option(i, examData_3.getOptions().get(i).getValue()));
                    }
                    if(examData_3.getAnswers() != null && examData_3.getAnswers().size() > 0) {
                        for(int i = 0; i <  examData_3.getAnswers().size(); i++) {
                            stringBuilder.append(FormatUtil.format_answers(i, examData_3.getAnswers().get(i).getValue(), examData_3.getAnswers().size()));
                        }
                    } else {
                        stringBuilder.append(FormatUtil.format_answers(0, "", 1));
                    }

                    stringBuilder.append(FormatUtil.format_explain(examData_3.getExplain().getValue()));

                    stringBuilder.append(FormatUtil.format_difficulty(examData_3.getDifficulty()));
                    stringBuilder.append(FormatUtil.format_examinationPoints(examData_3.getExaminationPoints()));
                    stringBuilder.append(FormatUtil.format_score(examData_3.getScore()));
                }
            }
        }
        flexibleRichTextView.setText(stringBuilder.toString());
    }
}
